package pl.matt.dao;

import java.util.Collection;

import pl.matt.model.AbstractNamedEntity;

/**
 * 
 * podstawowe operacje CRUD
 * 
 * @author mateusz
 *
 * @param <T>
 */
public interface AbstractNamedEntityDao<T extends AbstractNamedEntity> extends AbstractEntityDao<T> {

	Collection<T> readAllByName(String name);
	
	T readByName(String name);
	
}
